package com.colter.project.years.question2016.month07;

/**
 * 【程序18】
 * 题目：两个乒乓球队进行比赛，各出三人。甲队为a,b,c三人，乙队为x,y,z三人。已抽签决定比赛名单。有人向队员打听比赛的名单
 * 。a说他不和x比，c说他不和x,z比，请编程序找出三队赛手的名单。
 * 
 * @author user
 *
 */
public class Test1GetTeam {
	public static void main(String[] args) {
		String[] team1 = new String[]{"a","b","c"};
		String[] team2 = new String[]{"x","y","z"};
		for(String s1 : team1){
			Competitor c = new Competitor();
			for(String s2 : team2){
				
			}
		}
	}
}

class Competitor{
	public String t1;
	public String t2;
	
	@Override
	public String toString() {
		String result = t1+"的对手是："+t2;
		return result;
	}
}
